package com.louis.di_array;

import java.util.Arrays;

/**
 * @author XRY
 * @date 2023年06月23日12:06
 */
public class Person {
    private String[] hobby;

    public String[] getHobby() {
        return hobby;
    }

    public void setHobby(String[] hobby) {
        this.hobby = hobby;
    }

    @Override
    public String toString() {
        return "Person{" +
                "hobby=" + Arrays.toString(hobby) +
                '}';
    }
}
